﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucExamClass.ascx.cs" Inherits="Custom_ucExamClass" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<link href="../../Common/css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../Common/Js/jquery.js"></script>
<script type="text/javascript" src="../../Common/Js/common.js"></script>
<script type="text/javascript" src="../../Common/Js/msg.js"></script>

<script type="text/javascript">
var currClassId='';
//设置回调
var funChange;
function setClassOnChangeFun(func)
{
    funChange = func;
}
function GetClassInfo()
{
    var value = event.srcElement.value;
    currClassId = value;
    if(funChange!=null)
    {
        funChange();
    }
}
</script>

<select id="selTerm" onchange="GetClassInfo();">
 <asp:Repeater ID="repeatReport" runat="server">
    <ItemTemplate>
    <%# GetOption((int)Eval("RID"),Eval("ClsName").ToString())%>
    </ItemTemplate>
 </asp:Repeater>
</select>   

<script language="javascript">
<%
    Response.Write("currClassId=" +  currIn +";");
 %>
    
</script>